package com.example.test.serial;

public class Serialize {

    public static void main(String[] args) {
        //基本工资1000，绩效工资2500
        Salary salary = new Salary(1000,2500);

        Person person = new Person("张三",11,salary);

        SerializationUtils.writeObject(person);
    }
}
